ExamPlay Light Logo
登入

Computer Science for IGCSE & O level - Programming (Section 8 - No. 17)

What will this code print? `print "Hello".length()` (Assuming a language where length is a method of strings)
Hello
5
Hello.length
"" (empty string)

解释

The length method counts the number of characters in the string.

评论 (0)

登录发表评论
广告
BrainBehindX Inc Logo
©2026; 供电 BrainBehindX Inc